/*
 * @Author: yanjikun
 * @Date: 2022-05-11 17:25:32
 * @LastEditors: yanjikun
 * @LastEditTime: 2022-05-11 17:29:23
 * @Description: file content
 */
import {
  Button,
  Modal,
  Table,
  Menu,
  Input,
  Form,
  Card,
  Checkbox,
  Radio,
  Col,
  Row,
  Select,
  DatePicker,
  Switch,
  InputNumber,
} from 'ant-design-vue'
import type { App } from 'vue'
// import 'ant-design-vue/dist/antd.css';
import 'ant-design-vue/dist/antd.variable.min.css'
import 'dayjs/locale/zh-cn'

export function setupAntd(app: App<Element>) {
  app
    .use(Button)
    .use(Form)
    .use(Input)
    .use(InputNumber)
    .use(Modal)
    .use(Table)
    .use(Menu)
    .use(Card)
    .use(Checkbox)
    .use(Radio)
    .use(Col)
    .use(Row)
    .use(Select)
    .use(DatePicker)
    .use(Switch)
}
